<?php
$cs=Yii::app()->clientScript;
$cs->registerCssFile(Yii::app()->params->cssBaseUrl.'/themes/mykitchen.css','all');
$cs->registerCssFile(Yii::app()->params->cssBaseUrl.'/themes/login.css','all');
?>

<div id="main" class="main650">
  <div id="main-cont-top-650"></div>

  <div id="one-col">
    <div id="entry_main">
      <?php echo CHtml::image(Yii::app()->params->sysImageBaseUrl.'/login_files/ttl_id.jpg','张贴食谱垫库克编号（免费）是必需的',array('height'=>128,'width'=>610)); ?><br />

      <div class="pr">
        <p class="left">
          <?php echo CHtml::image(Yii::app()->params->sysImageBaseUrl.'/login_files/pr_01.gif','搜索食谱号！奉我希望你找到的秘方！',array('height'=>93,'width'=>253)); ?>
        </p>
        <p class="right">
          <?php echo CHtml::image(Yii::app()->params->sysImageBaseUrl.'/login_files/pr_02.gif','我很容易厨房，美丽的食谱专辑',array('height'=>93,'width'=>253)); ?>
        </p>
        <br clear="all"/>
      </div>

      <div class="pr">
        <p class="left">
          <?php echo CHtml::image(Yii::app()->params->sysImageBaseUrl.'/login_files/pr_03.gif','我最喜爱的食谱资料夹中保存一个按一下',array('height'=>93,'width'=>253)); ?>
        </p>
        <p class="right">
          <?php echo CHtml::image(Yii::app()->params->sysImageBaseUrl.'/login_files/pr_04.gif','查看我最喜爱的作者的新闻',array('height'=>93,'width'=>253)); ?>
        </p>
        <br clear="all"/>
      </div>

      <p class="btn">
        <?php 
          $image=CHtml::image(Yii::app()->params->sysImageBaseUrl.'/login_files/btn.gif','库克垫编号（免费）注册',array('border'=>0));
          echo CHtml::link($image,array('register'));       
        ?>
      </p>
      <p class="cap">附加保费服务（ 294日元/月）和订阅<br/>
        <span>“热门搜索”和“方档案”专题，并充分好处！</span>
      </p>
    </div>
  </div>
  
  <div class="clear"></div>
  <div id="main-cont-bottom-650"></div>
</div>

<?php 
if(Yii::app()->user->isGuest)
    $this->renderPartial('/side/login',array('form'=>$form));
else
    $this->renderPartial('/side/ad');    
?>